<?php


ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';



$time = time() - 3600;

$list = \Doraemon\model\Blank::select('bid', ['edittime[>]' => $time]);
foreach ($list as $v) {
    \Biz\service\wiki\WikiContent::autoClaim($v);
}

$list = \Doraemon\model\Article::select('aid', ['edittime[>]' => $time]);

foreach ($list as $v) {
    \Biz\service\wiki\WikiContent::autoClaim($v);
}
